
package com.baomidou.mybatisplus.generator.config;

import lombok.Getter;

/**
 * 输出文件类型
 *
 * @author hubin
 * @since 2021-06-01
 */
@Getter
public enum OutputFile {
    entity("entity.java"),
    service("service.java"),
    serviceImpl("serviceImpl.java"),
    mapper("mapper.java"),
    xml("mapper.xml"),
    controller("controller.java"),
    parent(null);

    /**
     * 模板文件名（不带文件后缀）
     */
    private final String template;

    OutputFile(String template) {
        this.template = template;
    }
}
